import { Model } from '../model.js';
var model=new Model();
Page({

  /**
   * 页面的初始数据
   */
  data: {
   
  },
  onLoad:function(ooptions){
    model.getExchangeList((res) => {
      this.setData({list:res.data})
    })
  },

  payOrder(e){
    let orderNo=e.currentTarget.dataset.orderNo
    wx.navigateTo({
      url: '/integral_shop/pages/order/index?orderNo='+orderNo
    });  
  }
})